def add_routes(map):
    map.connect('home', '/', controller = 'handlers.base:HomeController')
    map.connect('stuffibuilt', '/stuffibuilt', controller = 'handlers.base:StuffIBuiltController')
    map.connect('stuffiuse', '/stuffiuse', controller = 'handlers.base:StuffIUseController')
    map.connect('demos', '/demos', controller = 'handlers.base:DemosController')
    map.connect('about', '/about', controller = 'handlers.base:AboutController')
    map.connect('oauth', '/oauth', controller = 'handlers.oauth:OAuthController')
    map.connect('oauthready', '/oauthready', controller = 'handlers.oauth:OAuthReadyController')
    map.connect('manageoauth', '/manageoauth', controller = 'handlers.oauth:FTManageController')
    map.connect('wmstiles', R'/wmstiles/{type:}/{z:\d+}/{x:\d+}/{y:\d+}', controller = 'handlers.wmstiles:WMSTilesHandler',
                requirements = {'platform' : R'tms|google|osm'},
                conditions = dict(method=['GET']))
    map.connect('wms2gmapsproxy', '/wms2gmapsproxy', controller = 'handlers.wmstiles:WMS2GMapsProxyHandler')
    map.connect('wms2gmaps', '/wms2gmaps', controller = 'handlers.wmstiles:WMS2GMapsHandler')